PUBINCL = ~/project/pubilc

PUBCPP = ~/project/public/_public.cpp

CFLAGS = -g

all:crtsurfdata1 crtsurfdata2 crtsurfdata3 crtsurfdata4 crtsurfdata5 PActive

crtsurfdata1:crtsurfdata1.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)

crtsurfdata2:crtsurfdata2.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)

crtsurfdata3:crtsurfdata3.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)

crtsurfdata4:crtsurfdata4.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)

crtsurfdata5:crtsurfdata5.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)

PActive:PActive.cpp
	g++ $(CFLAGS) -o $@ $^ $(PUBCPP)
	
.PHONY:clean
clean:
	rm -f crtsurfdata1 crtsurfdata2 crtsurfdata3 crtsurfdata4 crtsurfdata5 PActive